package com.github_dididipapa.mall.member.feign;

import com.github_dididipapa.common.config.FeignConfig;
import com.github_dididipapa.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(
        name = "mall-gateway",
        url = "http://localhost:88",
        contextId = "couponFeignService",
        configuration = FeignConfig.class
)

public interface CouponFeignService {
    @RequestMapping("api/coupon/coupon/member/list")
    R memberCoupons();
}
